// 员工的路由
import layout from '@/layout'

export default {
  path: '/',
  component: layout,
  children: [
    {
      path: 'employees',
      name: 'employees',
      component: () => import('@/views/employees'),
      meta: { title: '员工', icon: 'dashboard' }
    },
    {
      path: 'employees/import',
      name: 'import',
      hidden: true,
      component: () => import('@/views/employees/import/import.vue'),
    },
    {
      path: 'employees/details/:id',
      name: 'detail',
      hidden: true,
      component: () => import('@/views/employees/details'),
    },
    {
      path: 'employees/print/:id',
      name: 'detail',
      hidden: true,
      component: () => import('@/views/employees/print'),
    },
  ]
}
